<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>是否白底分类</title>
</head>
<body>
<style>
    .div-class {
        width: 512px;
        height: 512px;
        border: 2px;
    }
    .img-class {
        width: 100%;
        height: 100%;
    }
</style>


<div>
    <form action="/post" method="post">
        <input type="hidden" name="img_path" id="img_path" value="{{ img_path }}">
        <input type="hidden" name="is_white" id="is_white" value="1">
        <input type="submit" value="是白底">
    </form>
    <form action="/post" method="post">
        <input type="hidden" name="img_path" id="img_path2" value="{{ img_path }}">
        <input type="hidden" name="is_white" id="not_white" value="0">
        <input type="submit" value="非白底">
    </form>

    <br>
    <div class="div-class">
        <img class="img-class" src="{{img_path}}" alt="1" border="2">
    </div>

</div>
</body>
</html>